<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
    <h1>宏的使用</h1>
    {% macro inp(type,name='',value='') %}
        <input type="{{ type }}" name="{{ name }}" value="{{ value }}">
    {% endmacro%}


</body>
</html>